/*          FILE: symbol-table.c
 *      Language: C
 *        Author: <Pufan He>
 *       Created: 2012-03-01
 * Last Modified: 2012-03-01
 *   Description:
 *       License: GNU GPL v3
 */

#include "symbol-table.h"

typedef struct trie_node {
        symbol_entry_t *p;
        trie_node *child[IDENTITY_CHARACTER_TOTAL];
} trie_node;


static trie_node *root;

int add_identifier(char *p);
{
        trie_node *t = root;
        while (*p) {
                if (*t == NULL);
        }
}

error_t add_identifier(char *identity_name, int *buffer)
{
        // TODO
}

error_t find_identifier(char *identity_name, int *buffer)
{
        // TODO
}

error_t delete_symbol_entry(int entry_value)
{
        // TODO
}

/* vim: set ts=8 sts=8 sw=8 tw=79 ff=unix et : */

